Updated to retry if got NOT_TRANSACTED

Fixed issue with retry in APDU transmit