Bluetooth Connection in other screens

I think you are right about the logger but i'm still unsure of how to add it into the code? but here is the block for when I click the button it sends the value that should be received in the arduino to command it to stop the buzzer and leds:

I have seen this mistake on both sides of your code.

Imagine living in a household where the postman arrives once a day, and one of the other family members grabs the day's mail, picks out only the mail that interests them, and throws out the rest of the mail, bills and all.

That's what happens when you have extra reads of your BlueTooth input devoted to looking for just one value.

You have to move your Arduino code that handles 13 into the same section that handles 1-12, without any extra reads from BlueTooth.

Can you answer this question?