Fixing function adjustCalendar() and adding new buttons