fix for pressing enter after, manually entering the date

When pressing enter aftet manually typing a date in datepicker the selection disappears. 
Fixed that behaviour by checking if the focussed date is same as input date then do not remove it.