public void removeTag(final Tag tag){
  if (mDisplayedTags != null && mDisplayedTags.contains(tag)) {
    mDisplayedTags.remove(tag);
    removeTagFromView(tag);
  }
}

public void removeTag ( final Tag tag ) { if ( mDisplayedTags != null && mDisplayedTags . contains ( tag ) ) { mDisplayedTags . remove ( tag ) ; removeTagFromView ( tag ) ; } }
removes a tag from the view
