void OnGUI()
    {
        if (helper != null)
        {
            helper.DrawGUI();
        }
        else
        {
            return;
        }

//		Debug.Log("jhjhjhj");

        if (!helper.isConnected())
        {
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 10, Screen.height / 10, Screen.width / 5, Screen.height / 10), "Connect"))
            {
                // if(helper.isDevicePaired())
                helper.Connect();                  // tries to connect
                // else
                //  sphere.GetComponent<Renderer>().material.color = Color.magenta;
            }
        }

        if (helper.isConnected())
        {
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 10, Screen.height - 2 * Screen.height / 10, Screen.width / 5, Screen.height / 10), "Disconnect"))
            {
                helper.Disconnect();
                // sphere.GetComponent<Renderer>().material.color = Color.blue;
            }
        }

        if (helper.isConnected())
        {
            if (GUI.Button(new Rect(Screen.width / 2 - Screen.width / 10, Screen.height / 10, Screen.width / 5, Screen.height / 10), "Send 'A' text"))
            {
                helper.SendData("A");
            }
        }
    }