Investors respond as margins beat expectations at AG Barr