Import eblount's extention "Adding date range configuration".

See
https://github.com/eblount/DatePicker/commit/06102240074d20b06f1d9b99a47487f44c5d312e
Reset lastSel