Let's remvoe the `} else ` and leave only `if (mobileConnection.cardState !== 'ready')`.