added states for when a tag is selected vs unselected