fix issue 16: app crashed when no bluetooth device is selected