Interrupt routine for remote switch in UIFlow