add some button events