Fixed a saveToPhotoGallery method in Media