Fix crash when connecting and disconnecting bluetooth keyboard