check that menu is empty before adding refresh