super.onCreate(icicle);
// Load the preferences from an XML resource
addPreferencesFromResource(R.xml.preferences);
PreferenceScreen preferenceScreen = getPreferenceScreen();
preferenceScreen.getSharedPreferences().registerOnSharedPreferenceChangeListener(this);
mAlertType = (ListPreference) preferenceScreen.findPreference(KEY_ALERTS_TYPE);
mVibrate = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS_VIBRATE);
mRingtone = (RingtonePreference) preferenceScreen.findPreference(KEY_ALERTS_RINGTONE);
updateChildPreferences();