added ability to choose a date from the address bar