Code example for PreferenceGroup

Methods: addPreference, removePreference