refactored button color into helper method btn_color