Active control of the H-mode transition on MAST