Fixed a bugg where resetUI didn't deleted all remaining tabs when method was called