bluetooth: fix some QML logic bugs