fix crash on rotate when scanning a QR code in the swap process
I was getting frequent crash-on-rotate NullPointerExceptions after scanning QR Codes. This fixes it for me.
This also serves as a sketch for eliminating unnecessary Fragments
, which reduces the amount of code and fixes hard to debug lifecycle issues:
https://f-droid.org/forums/topic/refactoring-swap-to-eliminate-fragments/