   "PE",
   "UK",
   "VN",
-  "NEW"
 };
 
-char m_CountryNames[COUNTRY_CNT][15] = {
+char m_CountryNames[COUNTRY_CNT][10] = {
   "USA",
   "Brazil",
   "Canada",

  pElemRef = gslc_ElemCreateTxt(&m_gui,E_TXT_COUNTRY_CODE,E_PG_MAIN,(gslc_tsRect){130,45,90,23},
    (char*)m_sDisplayText2,6,E_FREE_SANS9);
  gslc_ElemSetTxtAlign(&m_gui,pElemRef,GSLC_ALIGN_MID_MID);
  gslc_ElemSetCol(&m_gui,pElemRef,GSLC_COL_GRAY,GSLC_COL_GRAY_DK2,GSLC_COL_BLACK);
  m_pElemSel = pElemRef;
  
  // Create E_LBL_COUNTRYCD text label
  pElemRef = gslc_ElemCreateTxt(&m_gui,E_LBL_COUNTRYCD,E_PG_MAIN,(gslc_tsRect){10,45,121,23},
    (char*)"Country Code:",0,E_FREE_SANS9);
  gslc_ElemSetCol(&m_gui,pElemRef,GSLC_COL_GRAY,GSLC_COL_GRAY_DK2,GSLC_COL_BLACK);
  
  // Create E_LBL_TITLE text label
  pElemRef = gslc_ElemCreateTxt(&m_gui,E_LBL_TITLE,E_PG_MAIN,(gslc_tsRect){49,20,141,23},
    (char*)"Country Chooser",0,E_FREE_SANS9);
  gslc_ElemSetCol(&m_gui,pElemRef,GSLC_COL_GRAY,GSLC_COL_GRAY_DK2,GSLC_COL_BLACK);
  
  // create E_BTN_ADD button with text label
  pElemRef = gslc_ElemCreateBtnTxt(&m_gui,E_BTN_ADD,E_PG_MAIN,

        nSelId = gslc_ElemXListboxGetSel(&m_gui, m_pElemListbox);
        if (nSelId != XLISTBOX_SEL_NONE) {
          gslc_ElemXListboxDeleteItemAt(&m_gui,m_pElemListbox,nSelId);
          gslc_ElemSetTxtStr(&m_gui, m_pElemSel, "");
        } else {
          Serial.println("No country selected for deletion");
        }
