title: Why script run only 1 time?
body: <p>I wrote this code so that when I press on the image this image changes color. The problem is that click works only once; when I click a second time, nothing happens. Why?</p>
  
  <pre><code>immagine1 = Label(root, image=photo1)
  immagine1.place(x=20, y=20)
  
  def su1(event):
      print ("coordinate 1", event.x, event.y)
      clickX1 = event.x
      clickY1 = event.y
      if (clickX1 &gt;= 10 and clickX1 &lt;= 275 and clickY1 &gt;= 10 and clickY1 &lt;= 320):
          immagine1 = Label(root, image=photo2)
          immagine1.place(x=20, y=20)
  
  def giu1(event):
      clickX1 = event.x
      clickY1 = event.y
      if (clickX1 &gt;= 10 and clickX1 &lt;= 275 and clickY1 &gt;= 10 and clickY1 &lt;= 320):
          immagine1 = Label(root, image=photo1)
          immagine1.place(x=20, y=20)
  
  immagine1.bind("&lt;Button-1&gt;", su1)
  immagine1.bind("&lt;ButtonRelease-1&gt;", giu1)
  </code></pre>
  
  <p>Correct:</p>
  
  <pre><code>immagine1 = Label(root, image=photo1)
  immagine1.place(x=20, y=20)
  
  def su1(event):
      print ("coordinate 1", event.x, event.y)
      clickX1 = event.x
      clickY1 = event.y
      if (clickX1 &gt;= 10 and clickX1 &lt;= 275 and clickY1 &gt;= 10 and clickY1 &lt;= 320):
          immagine1.configure(image=photo2)
  
  def giu1(event):
      clickX1 = event.x
      clickY1 = event.y
      if (clickX1 &gt;= 10 and clickX1 &lt;= 275 and clickY1 &gt;= 10 and clickY1 &lt;= 320):
          immagine1.configure(image=photo1)
  
  immagine1.bind("&lt;Button-1&gt;", su1)
  immagine1.bind("&lt;ButtonRelease-1&gt;", giu1)
  </code></pre>