If the dialog in the server-bluetooth is canceled then the activity is finished.