added addtag functionality to the label button