Modified source code to include referencing the Navigation Controller object from the AppDelegate instance.