Adding a default value when the preferences are empty