Add completion handler. Update SampleApp with new SDK.