Added example with event handler using button