Fix logic: was reloading prefs unnecessarily.