Added single date mode

This makes it possible to let the user pick only a single date instead
of a range.