Bug 988171 - Use a local variable 'bluetooth' in function scope for BluetoothManager to short its life cycle.