PreferencesModel declared at higher-level

Ran into an issue of the Preferences not being session persistent
because I had been declaring in wrong location