Minor code change in sample app.