Bug 984092: Don't run internal functions while turning Bluetooth on/off, r=echou, a=1.3t+