Base class for various kinds of buttons