Create Preferences.java