Need to exit this loop, to then be ready to start again.

I don't think I can help any further as there is no useful documentation for the library. I even had a look at the MFRC522.cpp file but I can't make enough sense of it without having any experience using an RFID device.

I can't help feeling that your problem is that the program is a lot more complex than it needs to be.

Hopefully someone will come along who knows more about it.

...R