fixed the two bugs and made startDay on protocols update the calendar