Added a method which returns a button from the buttonlist