Added initial functionality to the calendar button.