abstracted time code out of WorkoutSummaryViewController
fixed timing bug with end workout confirmation