Revert the previous click after detecting a new click on an image file
I have 3 images (A,B,C) in a table. Each cell is overlap with a default image. When I press on the default image, it will display A. When I press on another default image, it will display B and revert back the default image on A. What method can I use?