Setting label type