In storyboards FlickrPhotoViewController add toolbar with Done button and connect to done: