Attempted to fix the refresh bug on the calendar page, but failed