Hooked up the preferences to SharedPreferences and implemented the PreferenceModel
Adding in the PreferencesModel file