public void saveProfile(){
		
		profile.applyProgramToProfile(main);

		Json json = new Json();
		String fileContent = json.toJson(profile);
		System.out.println(fileContent + " aoeuoe");
		
		File file = new File("../src/saveData/saveFile.json");
		try {
			writer = new PrintWriter(file);
		} catch (FileNotFoundException e) {

		}
		writer.print(fileContent);
		
		writer.flush();
		writer.close();

		/*FileHandle handle = Gdx.files.local("profile.json");
		handle.writeString(fileContent, false);*/
		
	}