Fixed changed preferences not being visible instantly.