private boolean isConfigListEmpty() {
   return configList.getItemCount() == 0;
 }
 private void selectLastConfig() {
   int lastIndex = configList.getItemCount() - 1;
   configList.setSelectedIndex(lastIndex);
 }