Fix bug in adding colors to the color bars.