🎨 Replace PreferencesLoader with Kotlin version