Added ability for buttons to specify the color of the generated spinner.