removing taken image on clicking on trash icon