Add @SuppressWarnings("deprecation") on PreferenceActivity.