Fixed sharing and saving the wrong image