addClass for priority coloring