Rewrite 'Settings' to use the 'Preferences' object for storing and retrieving data