When press button turn on/off a device