Added error message.

Error message now displays if the new team has the same name as an
existing team.