Now changes the colour for all the buttons.
added break; to my if statement

it now only changes colour for the entire top row.