Dynamic button is not being created


Are there any errors with the way I am doing this, since the buttons are not being created. However when I do it through the ‘do it’ method it creates a button but then doesn’t let me decorate it (background colour etc).
ScrollCard is a vertical scroll arrangement. AddwaterCount is 1
The blocks are within a for item in list loop

The dynamic spaces are being created fine btw. I am able to create the buttons and decorate them in a regular arrangement but not in the scroll arrangements.

What is the value stored in variables?

waterColour is a colour made with the rgb.

It works fine if i try to make it out of the scroll arrangements