Code example for CheckBoxPreference

Methods: setPersistent