Add an action handler to the dummy app.

This fixes deprecation warnings about attaching action handlers directly
to a view.