EV3 won't run a certain loop
A program should have only one "Start" block (the green play button).
Your 3 segments of code are not linked together, you need to drag a "beam" from the exit of one loop to the block that should execute after the loop exits.
You need to link the action of pressing the button to an exit condition for your loops. You are using infinite loops. The only way to escape an infinite loop is a Loop Interrupt block. Click on the infinity symbol on the loop blocks for more options.