Updated to use PreferenceFragment