'Barca have learned from Milan loss'