Instead of setting the `startTime` to the current date and resetting the end time, just the end time should be reset.