public void removeADay(){
		if(!timer.isRunning()){
			if(buttonArray.size() > 2){
				if(JOptionPane.showConfirmDialog(Main.mainPanel, "Do you want to remove a day?",
						"Remove a day", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.OK_OPTION){
					if(Main.selectedDay >= buttonArray.size()-1){
						if(Main.isDay){
							buttonArray.get(buttonArray.size()-2).getDay().doClick();
						} else {
							buttonArray.get(buttonArray.size()-2).getNight().doClick();
						}
					}
					this.removeDays();
					timer.restart();
				}
			} else {
				JOptionPane.showMessageDialog(Main.mainPanel, "You cannot have less than 1 day");
			}
		}
	}