What you pass to `showNonReadyScreen()` is not the message but the `cardstate`. As we are faking a card state, can you made it explicit by renaming `errorMsg` to `fakeAirplaneModeState` or something similar.