added segue method for collection view, updated methods for saving photos in collection view