update app delegate to use OpenGLView