/// <summary>
        /// User has choose a search suggestion.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="args"></param>
        void SearchPaneQuerySubmitted(SearchPane sender, SearchPaneQuerySubmittedEventArgs args)
        {
            Frame frame;

            if (Window.Current.Content == null)
            {
                frame = new Frame();
            }
            else
            {
                frame = Window.Current.Content as Frame;
            }

            if (args.QueryText.Contains(Consts.SearchSplitter))
            {
                var notebookName = args.QueryText.Substring(0, args.QueryText.IndexOf(Consts.SearchSplitter));
                var noteName     = args.QueryText.Substring(args.QueryText.IndexOf(Consts.SearchSplitter) + Consts.SearchSplitter.Length);
                var notebook     = NotesDataSource.SearchNotebook(notebookName);
                if (notebook == null)
                {
                    return;
                }
                var note = NotesDataSource.SearchNote(notebook.UniqueId, noteName);
                if (note == null)
                {
                    return;
                }

                frame.Navigate(typeof(ItemDetailPage), note.UniqueId);
            }
            else
            {
                frame.Navigate(typeof(SearchResults), args.QueryText);
            }
        }