setting AppDelegate as delegate of GLKView