Add validation for label name and color.
Small fix.