Fixed. The thumbnail of the just uploaded image is refreshed when it is not necessary