Made it possible to manually enter duration and date