mButton.setBackgroundColor(Color.GREEN) ;
So, I used that method to change the color of a button when it\'s clicked. Button was initialized like private