switch on/off alerts