Fixed the calendar day click function to work for all months and not just the current