Fixed bug in Buttons example.