Pass button data from calculator because calculator should tell the button panel about the buttons as there can be any number or type of buttons.
Button panel's responisibity is to add that data on its buttons.