Fix crash when restoring activity with transaction details open