setting preferences with multiple instances of an extension
setting preferences does not work in some cases, when multiple instances of an extension are open
(from redmine: issue id 2232, created on 2015-05-29 by Daniel.Van.Asseldonk, closed on 2016-07-14)