REBASE tweak displayed xmpp: URL to work on more apps and follow RFC5122
REBASE check status of pref.commit() otherwise just use pref.apply
REBASE move all strings to resources so they can be translated