Modified example app.
Added new delegate method.