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()
      result = false
      if press
          if key = "back"
              numberOfScreen = m.screenStack.Count()
              if numberOfScreen > 1
                  CloseScreen(invalid)
                  result = true
              end if
          end if
      end if
      return result
  end function