Revert "dynamic main; without empty buttons"

This reverts commit 40a10859838d3ca073f3e08cea7805204cdc1e2f.