Datepicker keeps state