public void updateLastYear()//go back a year
	{
		int temp = currentYear.getNumber();//the year before switching years
		ArrayList <Year> years = CalendarProject.getYears();//get the years from the Calendar project
		if(currentYear.getNumber()>2013)
			currentYear = years.get(currentYear.getNumber()-2013-1);
		ArrayList <Month>list = currentYear.getMonths();//list of months
		
		if(temp==2013)//if the user is already on the start of the calendar, year 2013
		{			
			currentMonth= list.get(0);
			updateBoxes();
			Day cursorDay = cursor.getDayStored();
			setCursor(cursorDay.getNum());
		}
		else{
			currentMonth = list.get(11);
			updateBoxes();
			Day cursorDay = cursor.getDayStored();
			setCursor(cursorDay.getNum());
		}
			
	}