Fixed issues where attendance data wasn't saving, calendar month button didn't work, and methods isAfterDay and beforeStartDay didn't work correctly.