fixed a problem with workout detail recognizing which workout was selected.