added history clear for switch events. confirm window on switch reboot