Preferences work correctly