GetSSID returns null if the wifi is not connected.
Fixes invalidated barrier dialog when pausing and resuming.
Minor beauty fixes in QRJoiner.
Only register and unregisted when it is required (and correct).