Previous code wouldn't work, had to make a few more adjustments to both addButton and addButtons as well as the modern theme.