internal void Change_SessionMod()
    {
        string mod;

        is_ACI = !is_ACI;
        if (is_ACI)
        {
            // Textbox Management
            //GameObject.Find("MessageFace").GetComponent<MeshRenderer>().enabled = true;
            //GameObject.Find("MessageVoice").GetComponent<MeshRenderer>().enabled = true;
            //msgFace = GameObject.Find("MessageFace").GetComponent<TextMesh>();
            //msgVoice = GameObject.Find("MessageVoice").GetComponent<TextMesh>();
            //msgFace.text = "Connect Face detection to the IP Address: " + MyPhotoCapture.ipEndPoint;

            // Context Management
            speechContext = MySpeechContext.None;
            faces_box     = new List <List <int> >();
            isTalking     = false;
            num_faces     = 0;

            mod = "Social ACI";
            //GameObject.Find("Main Camera").GetComponent<MyPhotoCapture>().RunPC();
            //gameObject.GetComponent<SpeechHandler>().Run_MySH();
        }
        else
        {
            //GameObject.Find("MessageFace").GetComponent<MeshRenderer>().enabled = false;
            //GameObject.Find("MessageVoice").GetComponent<MeshRenderer>().enabled = false;

            mod = "Basic AR";
        }

        GameObject.Find("Weather").GetComponent <AppManager>().Start_Session();
        GameObject.Find("Email").GetComponent <AppManager>().Start_Session();
        GameObject.Find("Fitbit").GetComponent <AppManager>().Start_Session();

        managerLog.WriteLine("  ");
        managerLog.WriteLine(" Session Changed to " + mod);
        managerLog.WriteLine("  ");
        UpdateTooltipText();
    }
 public static void Set_SpeechContext(int context)
 {
     // change the context only if it is different (to improve performance and control IO repeats)
     if ((int)speechContext != context)
     {
         if (context == (int)MySpeechContext.None)
         {
             Reset_SpeechContext();
             GameObject.Find(Get_SpeechContext()).GetComponent <AppManager>().ResetMentioned();
             managerLog.WriteLine(" Talking about None");
             return;
         }
         speechContext = (MySpeechContext)context;
         managerLog.WriteLine(" Talking about " + (MySpeechContext)context);
         Set_justMentioned(true);
     }
     else if (context != (int)MySpeechContext.None)
     {
         // If the context isn't changing but an app was mentioned again make sure the mentioned time-out keeps it in mind
         Set_justMentioned(true);
     }
 }
 internal static void Reset_SpeechContext()
 {
     speechContext = MySpeechContext.None;
 }