DatePicker created
Date selection function implemented