update gpioSender var on change