Moving button properties to configuring buttons.
Added @protocol declaration and using some dot syntax.