@Override
 public void onStart() {
   super.onStart();
   Analytics.getInstance(this).trackPageView(Analytics.EDIT_SETTINGS_ACTIVITY);
 }
 /**
  * Updates preferences on singletons, so we don't have to register preference change listeners for
  * them.
  */
 private void updatePreferences() {
   Log.d(TAG, "Updating preferences");
   Analytics.getInstance(this).setEnabled(findPreference(Analytics.PREF_KEY).isEnabled());
 }