[#3] Added a function to add a new menu entry.