Introducing AppPreferences class