[FIX]
The way i found to fix it is to use procedures. you put the “on event of click” with all the parameters you want in. Then create a loop “for each item in list” with the procedure in.
For me it’s supposed to be exactly the same but this way works and not the other.
See the screenshot for the complete puzzle.