Generate the initial table of buttons