title: Change button color on click among similar multiple buttons
body: <p>Let me elaborate the process. Following is the sample code snippet of my application</p>
  
  <pre><code>import tkinter as tk
  class ldo(Frame):
      def __init__(self, master = None):
          Frame.__init__(self,master)
          self.grid()
          self.appOutline()
  
      def appOutline(self):
          self.masterframe1 = Frame(self.master,width=300,height=300)
          self.masterframe1.grid(sticky=N,padx=20)
  
          self.masterframe2 = Frame(self.master,width=300,height=100)
          self.masterframe2.grid(sticky=S,padx=20)
  
          self.addtabbutton = Button(self.masterframe2,text="Add Step", width=10, command=self.popup2, bg="sienna1")
          self.addtabbutton.grid(row=0,column=0,sticky=EW)
          self.runallbutton = Button(self.masterframe2,text="Run All", width=10, command=self.underprocess, bg="sienna1",state=DISABLED)
          self.runallbutton.grid(row=0,column=1,sticky=EW)
          self.runselbutton = Button(self.masterframe2,text="Run Selected", width=10, command=self.popup2, bg="sienna1",state=DISABLED)
          self.runselbutton.grid(row=0,column=2,sticky=EW)
  
      def popup2(self):
          self.child = Toplevel()
          self.child.geometry("300x300")
          self.child.title("Secondary")
  
          self.label1 = Label(self.child,text="Your input")
          self.label1.pack()
  
          self.entryinp = StringVar()
          self.entry1 = Entry(self.child,textvariable=entryinp)
          self.entry1.pack()
  
          self.submit = Button(self.child,text="Submit",command=self.evaluation,bg="pink")
          self.submit.pack()
  
      def evaluation(self):
          self.inputValue = self.entry1.get()
  
          self.steps = Button(self.masterframe1,text=self.inputValue,command=self.colorchange,bg="light blue")
          self.steps.pack()
  
          self.runallbutton.config(state=NORMAL) 
          self.child.destroy()
  
      def colorchange(self):
          self.steps.config(bg="white")
          self.runselbutton.config(state=NORMAL)
  
      def underprocess(self):
          print("processing...")
  
  if __name__ == "__main__":
      app = ldo()
      app.master.title("Primary")
      app.mainloop()
  </code></pre>
  
  <p>Below screenshot is the output of my app. My need is I want to change the colour of button I click in Primary interface, but what happens is whatever the button I click, it is changing colour of the last button. I tried using lambda, but I doubt if I am using it correctly. The above snippet is working except the colour change part. Please guide me on how to get this done. </p>
  
  <p>Also, I want "Run Selected" button to print (text of) that particular button I clicked.</p>
  
  <p>P.S.: I have checked in <a href="https://stackoverflow.com/questions/41387155/changing-button-appearance-on-click">this link</a> too yet not solvable.</p>
  
  <p><a href="https://i.stack.imgur.com/pqPIt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pqPIt.png" alt="Output"></a></p>