Corrected the logic to calculate task time.
Added functionality to display/edit task title and details