Bug 826112 - record connected device by using asyncStorage

and restore the connection when bluetooth is turned on again.