added the first api(getSelectedDates) of date-picker