store bluetooth state when restart