Help with BT Data to Text

That while loop runs independently from the Bluetooth.available function.

I suggest that you have a look at the serial input basics tutorial.