Set date on datepicker and make sure a datesource is valid after using back buttton in edit screen