Since you have isActive variable on on the icons, why do you need an array to keep selection state? This task can done a lot easier without it.
I also suggest using number type variables (0/1) instead of boolean, it's easier to work with them in Construct.