Gets a stored in the settings.
Stored value, or default value if it doesn't exist.
Key of the setting.
Default value of the setting.