Added functionality to the cancel button when creating a workout.