Below is the code. When my code runs for the first time it works like a charm, but when I again input the URL and click on any of the buttons it shows me 2 pics (1 pic is fr