Added support for saving and picking of photos.