Added event listeners for tagitems