add delegate to button events
update #dtl