You should have created different callbacks for each button.