I have managed to use state to change the background color of my buttons on a click event.
Unfortunately, the background color does not change until the mouse is move