counting change boxes color from gui
merge color changes