Rectified ViewController and AppDelegate