added a simple event example (button click) in home view