record state of background option, only send on change