code: function removeSelectedItem(e) {
          var recentProjects = getRecentProjects(),
              $cacheItem = $dropdownItem,
              index = recentProjects.indexOf($cacheItem.data("path"));
  
          // When focus is not on project item
          if (index === -1) {
              return false;
          }
  
          // remove project
          recentProjects.splice(index, 1);
          PreferencesManager.setViewState("recentProjects", recentProjects);
          checkHovers(e.pageX, e.pageY);
  
          if (recentProjects.length === 1) {
              $dropdown.find(".divider").remove();
          }
          selectNextItem(+1);
          $cacheItem.closest("li").remove();
          return true;
      }
docs: Deletes the selected item and
  move the focus to next item in list.
  
  @return {boolean} TRUE if project is removed