when click, adds next box... fixing infinite loop bug
bugfix infinite loop, add layout colors