Code example for Preferences

Methods: getgetBoolean