private void createPreferences(){
        Preferences pref = Preferences.getInstance();
        if (!pref.containsKey("AutonomousCommand")){
            pref.putString("AutonomousCommand", autonomousDefault);
        }
        if (!pref.containsKey("ActuatorVertical")){
            pref.putInt("ActuatorVertical", 270);
	}
        if (!pref.containsKey("MaxTurnSpeed")){
            pref.putDouble("MaxTurnSpeed", 0.8);
        }
        
        pref.save();
             
    }