Fixing DemoApp for new sending API