Edge localized modes control by stochastic magnetic fields