Refactored menu search

Have taken duplication from menu search items and created 2 methods for
it. Menu search items should call these 2 methods b4 doing their
specific task