Update PreferencesWorker.java