Clicking the calendar button now works correctly