Need help! Error 516: Unable to write: Broken Pipe

My set-up:
Arduino Mega
HC-05 Bluetooth Module
Xiaomi A2 Lite

Hi all, I am having an issue with my app. It keeps displaying this error message when I use my slider.
Help is greatly appreciated.


Maybe this might help