Added Widget class. Buttons can be disabled.