protected void addMod() {
		if(modsList.getSelectedValue()==null){
			con.log("Log","please select a mod to add first");
		}
		else if(profileList.getSelectedValue()==null){
			con.log("Log","please select a profile before adding a mod");
		}else 
		{ //No problems, lets go
			String str = modsList.getSelectedValue().toString();

			if(selProfile.findMod(str)){
				selProfile.mods.add(str);
				updateEnabledMods();
			}
		}
		writeData();
	}