void InitializeDatabase()
    {
        if (!fieldsOk)
        {
            initializeDbMessage = "Please check your fields for errors";
            AS_PopUpWindow.ShowWindow("Error", initializeDbMessage);
            return;
        }

        string errorMessage = AS_Setup.InitializeDatabase(additionalFields.ToArray());

        if (errorMessage == "")
        {
            AS_PopUpWindow.ShowWindow("Success!", "The Database was Initialized successfully.\nYou can now load the Demo Scene!", this, AS_SetupState.Done);
        }
        else if (errorMessage.ToLower().Contains("credentials"))
        {
            AS_PopUpWindow.ShowWindow("Error", errorMessage, this, AS_SetupState.CredentialsAndPreferences);
        }
    }
    void SetupPHPScripts(string _phpScriptsLocation)
    {
        if (!credentialsOk)
        {
            initializeDbMessage = "Please check your credentials for errors";
            AS_PopUpWindow.ShowWindow("Error", initializeDbMessage);
            return;
        }

        AS_Credentials.Save();
        AS_Preferences.Save();

        string errorMessage = AS_Setup.Setup(_phpScriptsLocation);

        if (errorMessage == "")
        {
            AS_PopUpWindow.ShowWindow("Success!", "The PHP Scripts were successfully set up.\nYou can now Initialize the Database!", this, AS_SetupState.Fields);
        }
        else
        {
            AS_PopUpWindow.ShowWindow("Error", errorMessage);
        }
    }