Added ability to add custom class to buttons.
version 1.28