[FIX]correctly set default date to selected date when opening datepicker widget and cosmetic