fixed bug switch device on/off message not hiding