Refine demo app.