Implemented UI for the date range selector.