Added calcSize method to ButtonList which calculates the size of the buttonlist. It is called every time a button is added.