removing network alert and showing it as toast