   // Save some element references for quick access
   // ------------------------------------------------
   //<Quick_Access !Start!>
-  m_pElemVal1 = gslc_PageFindElemById(&m_gui, E_PG_MAIN, E_TXT_VAL1);
-  m_pElemVal2 = gslc_PageFindElemById(&m_gui, E_PG_MAIN, E_TXT_VAL2);
-  m_pElemResult = gslc_PageFindElemById(&m_gui, E_PG_MAIN, E_TXT7);
   //<Quick_Access !End!>
 
   //<Startup !Start!>

      break;
    case E_BTN_ADD:
      // Compute the sum and update the result
      nVal1 = atoi(gslc_ElemGetTxtStr(&m_gui, m_pElemVal1));
      nVal2 = atoi(gslc_ElemGetTxtStr(&m_gui, m_pElemVal2));
      nResult = nVal1 + nVal2;
      itoa(nResult, acTxtNum, 10);
      gslc_ElemSetTxtStr(&m_gui, m_pElemResult, acTxtNum);
      break;
    case E_BTN_SUB:
      // Compute the subtraction and update the result
      nVal1 = atoi(gslc_ElemGetTxtStr(&m_gui, m_pElemVal1));
      nVal2 = atoi(gslc_ElemGetTxtStr(&m_gui, m_pElemVal2));
      nResult = nVal1 - nVal2;
      itoa(nResult, acTxtNum, 10);
      gslc_ElemSetTxtStr(&m_gui, m_pElemResult, acTxtNum);
      break;
    case E_BTN_MULT:
      // Compute the multiplication and update the result
      nVal1 = atoi(gslc_ElemGetTxtStr(&m_gui, m_pElemVal1));
      nVal2 = atoi(gslc_ElemGetTxtStr(&m_gui, m_pElemVal2));
      nResult = nVal1 * nVal2;
      itoa(nResult, acTxtNum, 10);
      gslc_ElemSetTxtStr(&m_gui, m_pElemResult, acTxtNum);
      break;
      //<Button Enums !End!>

  gslc_tsGui* pGui = (gslc_tsGui*)pvGui;

  char acTxtNum[11];
  int32_t nVal1, nVal2, nResult;

  if (eTouch == GSLC_TOUCH_UP_IN) {
    // From the element's ID we can determine which button was pressed.
