Object Removal GUI: Fix duplicate item name bug.
Fix the bug where users can add two codes with the same name and then can't disable them again.