pass quota arg and onSelectPhotos callback to Gallery view.