Revert "Outputting buttonHTML"

This reverts commit d90883a4ee9861aa842d6cd5d7657083109d9594.