Added setting to toggle XMPP functionality