Created separate methods for sharing/deleting photos