Loop problem in the QR code scanner screen

For button2, the blocks are okay, but the Designer structure is not okay.

Arrangements are meant to act as containers for other components, so they can all be made visible or not as a group.

Perhaps you missed the lesson where the mock components can be dragged around in and out of arrangements?

P.S. An example of Arrangements usage: