private bool SetGoogleCode(string url)
        {
            TodoistService todoistService = new TodoistService();

            if (url.StartsWith("http://localhost"))
            {
                string urlParamsString = url.Split('?')[1];
                string[] urlParamsArray = urlParamsString.Split('&');

                for (int i = 0; i < urlParamsArray.Length; i++)
                {
                    string[] keyValue = urlParamsArray[i].Split('=');
                    if (keyValue[0] == "code")
                    {
                        TodoistService.googleCode = keyValue[1];
                        todoistService.GoogleAccessToken(keyValue[1], successCallback);
                        return true;
                    }
                }
                return false;
            }
            return false;
        }