Code example for Preference

Methods: setTitle