made it so that when an exercise is selected its related data is put into the form