finishes the demo app.