added possibility to horizontally align the button text