def show_settings_dialog(self, window, keystore):
    device_id = self.choose_device(window, keystore)
def show_settings_dialog(self, window, keystore):
    device_id = self.choose_device(window, keystore)