NFC scan returns me to main screen.

Hi! I have a problem with my app, I’m trying to make NFC work with it. When I scan my NFC tag, it returns me to Screen1, even when I’m not in the app. I formatted the tag as ndef with tagwrite(npx).