The team bonus only applies if you have the same team color at offer time. If at any time, either of you change color, the bonus is lost forever (ie. even if you come back to the same color later, the bonus is gone). Cancel and re-establish the trade.