private void LoadPicker() { isPickerActive = true; if (oBlueToothCmds_Picker == null) { oBlueToothCmds_Picker = new BlueToothCmds(); } oBlueToothCmds_Picker.Clear(); try { // ToDo: Load from db oBlueToothCmds_Picker.CreateTestCommands(oUserSetting.GetUserUnits(), false); oBlueToothCmds_Picker.RemoveAll(x => x.isSelected); pkrProcess.ItemsSource = oBlueToothCmds_Picker; pkrProcess.IsEnabled = true; pkrProcess.IsVisible = true; pkrProcess.SelectedItem = null; pkrProcess.Focus(); } catch (Exception ex) { DisplayMessage(ex.Message); isPickerActive = false; } }