public void saveVariables() throws IOException {
		File file = new File(System.getProperty("resources") + "/database/variables");
		if(file.exists()) {
			file.delete();
			file.createNewFile();
		} else {
			file.createNewFile();
		}
		
		BufferedWriter writer = new BufferedWriter(new FileWriter(file));
		
		for(int x = 0; x<listModel.getSize() - 1; x++) {
			writer.write(listModel.get(x));
			writer.newLine();
		}
		
		writer.close();
	}