I could not see how your code was written but there seems to be a loop. Put a shift register on the loop (right click on the border of the loop and select add shift register). The shift register allow information (which toggle was clicked) to be passed from the previous iterations of the loop to the present. Then all you need is some logic for passing the appropriate which toggle was clicked information. See the shipping example code under loops for some examples of the shift register in action. Also look at the state machine in the vi templates.
Good luck with the project.
Jeremy Braden
National Instruments