Menu functionality added, user can now select actions through the menu