Consolidate button color code