delete menu functionality