Added functions to enable buttons only after the user is connected to the Bluetooth (testing)
Converted the few lines of code into a actual function. This function takes in a boolean and determine whether to enable or disable the buttons.