added button control UI and events