The issue was reproduced on archetype 7.9.7:
- Log in into the CMS
- Open the images tab of the Browse perspective
- Upload an image "ImageA"
- On the thumbnail Choose another image "ImageB"
- Click on Restore on the thumbnail, observe that the name is still "ImageB"
- Now choose "ImageB" again
- "ImageA" is still shown
At step 5 the name of Image should change to ImageA, so imageB can be choosen in step 6.