void Upgrade()
    {
        if (version == 0)
        {
            // in free layout of 1.3.x icon names were mistaken for level names
            // check if there's profile entry for level name of icon name
            // but without level name itself
            if (MadLevelProfile.IsLevelSet(name) && !MadLevelProfile.IsLevelSet(level.name))
            {
                MadLevelProfile.RenameLevel(name, level.name);
            }
        }

        version = 1;
    }