update

add a button event register method! I like it :)