fixing save to file
always set the photo - isHidden is not reliable