Update example about handle button event.