Implement select/unselect items in tag search