disable xmpp when checkbox not clicked