added search, undo and redo to the menu bar