added 'activeClickReset' function to control the behaviour when clicking on already selected day