Function createCorePreferences