Function createScmPreferences