delete legacy files and add PreferenceActivity, PreferenceFragment and its corresponding XML