My app not responding when read text bytes through bluetooth

Hi, i have issues with my app when i receive data bluetooth after to do boton click. The app freezes and does not continue printing or to the next window. But, If I deactivate the bluetooth of the phone, it continue to the next screen

BlueTooth works better in a single screen.

Use stacked Vertical Arrangements instead of screens, one Arrangement visible at a time.

Also, watch out for empty sockets.

Do you really need to disconnect from BlueTooth?