Code example for Preferences

Methods: putBoolean