The problem is that you are editing the menu from the menu.php file. You should always edit the menu from the file where you applied the menu, which is index.php in your case.
In order to resolve this issue, you will need to remove the menu from your index page and also remove your CSSMenuWriter folder and create the menu again. and when you need to edit the menu, make sure to always edit it from the file where you applied the menu.