Added a class for buttons to support further config settings.
Implementation is done only for stellaris launchpad.
Problems with SW2 were fixed, too.