Adding Device saveToPhotoLibrary event functionality