Added end date for selecting time range.
Added elements for selecting date range.
Added button to start writing a file.