wire up button and ui