Move here `var cardState = mobileconnection.cardState` please.