Add functionality to assign a label to a case