changing color for label depending on status