set default date to datepicker if none is set