The `preferences-service` module provides access to the application-wide preferences service singleton. @function Sets the application preference `name` to `value`. @param name {string} Preference name. @param value {string,number,bool} Preference value. @function Gets the application preference `name`. @param name {string} @param defaultValue {string,number,bool} Preference value. @returns {string,number,bool} Preference value, returns a default value if no preference is set. @function @param name {string} Preference name. @returns {bool} Returns whether or not the application preference `name` exists. @function @param name {string} Preference name. @returns {bool} Returns whether or not the application preference `name` both exists and has been set to a non-default value by the user (or a program acting on the user's behalf). @function Clears a non-default, user-set value from the application preference `name`. If no user-set value is defined on `name`, the function does nothing. @param name {string} Preference name.