Added PreferencesView class