Change date selection behaviur

If endData is selected, the next selection will clear the endDate and
set the startDate to the selectedDate