Search and apply label-type when a label is saved