make the remove team notification go after a team is deleted and fix last visited team