fixed ui crash when nfc-tag is enabled