Added an enabled flag to the button class.