private async void DispatcherTimer_Tick(object sender, object e)
        {
            StopTimer();

            try
            {
                var status = await inkRecognizer.RecognizeAsync();

                if (status == HttpStatusCode.OK)
                {
                    var root = inkRecognizer.GetRecognizerRoot();
                    if (root != null)
                    {
                        output.Text = OutputWriter.Print(root);
                    }
                }
            }
            catch (Exception ex)
            {
                output.Text = OutputWriter.PrintError(ex.Message);
            }
        }