Fix Preferences for MacOS