Added a reference to GameApp in the State class, the constructor of it now takes a reference to the GameApp instance