added the ability to unselect the selected date