save  selected image into app data folder works