fixed double teamGUI issue

added boolean flags in teamgui when open/close