Create a small app to send a simple text to the ESP32, and study the information obtained in the Serial Monitor.
About the Slider, I think this extension is better, since the Slider component continuously sends information by BT while sliding and that can cause an error.