Added some button events