Hot Fix: Fixed the issue with the appState's OnEvent not being called.