Handling default preferences.