Refactored PreferencesActivity to MyPreferenceActivity to avoid
confusion with core's PreferenceActivity