Added option to set the directory where picked images will be saved