Don't click on repeat.
Drag repeat into the coding window and then drag all steps into the repeat bracket that require repeating.