Refactored edit menu.
Added delegate for edit menu actions.
Removed tap gesture recognizer.
Open formula editor.