Solved a calendar double click issue