Added ability to open PreferencesActivity from menu