Added test-dialog, partially fixed switching between BT device connections