added date to changeCalendar method for date and week views