added logic to tell if we toggled bluetooth