Adding automatic menu entry deletion