def onLoad(s, a):
    global state, app
    app = a
    state = s
    loadList()
    pyos.GUI.WarningDialog('This application modifies the state of other apps. Using it may result in data loss.').display()
def onLoad(s, a):
    global state, app
    app = a
    state = s
    loadList()
    pyos.GUI.WarningDialog('This application modifies the state of other apps. Using it may result in data loss.').display()