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