Adding a prepareForSegue method to the photo set view controller.