button has a refresh function by itself,so when i press add menu it refreshed the page ,so i change the button on add menu to div