fixed crash when ad closed and twitch app is not present. Used another strategy to extract team name from URL.