Code example for Preference

Methods: getKey