Adding check at setDefaultColor