protected override void OnNavigatedTo(NavigationEventArgs e)
{
base.OnNavigatedTo(e);
SetupTheme();
var response = e.Parameter as AIResponse;
if (response != null)
{
var aiResponse = response;
OutputJson(aiResponse);
OutputParams(aiResponse);
}
InitializeRecognizer();
AIService.OnListeningStarted += AIService_OnListeningStarted;
AIService.OnListeningStopped += AIService_OnListeningStopped;
}