Updated events example to reflect changes to button.