Extracts to method the functionality for changing button's color.