content: sub init()
      m.top.backgroundColor = "0x662D91"
      m.top.backgroundUri= "pkg:/images/background.jpg"
      m.loadingIndicator = m.top.FindNode("loadingIndicator")
      initScreenStack()
      showGridScreen()
      runContentTask()
  end sub
  
  function OnkeyEvent(key as String, press as Boolean) as Boolean
      result = false
      if press
          if key = "back"
              numberOfScreens = m.screenStack.Count()
              if numberOfScreens > 1
                  closeScreen(invalid)
                  result = true
              end if
          end if
      end if
      return result
  end function
  