Insert Item in a List with Boolean Button

Hi all,
I am trying to create a definition that helps me to insert item in a list controlled by a boolean toggle.
For example I have a building with different levels, select one level and then add a new one but I would like to control this and being able to add it only by pressing the boolean button. The second thing that I would like to achieve is to loop the data back to the start in case I want to add new more levels.
I attached the definition so far and I hope that I was clear. Thank you very much!