Added team reuse logic

Added a checkbox to reuse the same teams.