added delegate method to pass user selection back to parent view controller. saves the exercise selection