write duration of time entry when stopping timer