Added a check for bluetooth enabled