Only the sketch of the first template upload is previewed, even after uploading new templates with different template names until we restart the server.
Solution :- To avoid the use of back button of the browser, image must be previewed on the same page.