Initial rewrite of PhoneProfilesPreferencesActivity