This is the solution that worked for me, hope it may be useful for someone.
The only difference from the previous answer is that I created the menu dynamically, cause the static menu for some reason was not responding to menuItemClicked() function.
@Override
public void onActionModeStarted(ActionMode mode) {
System.out.println("onActionModeStarted");
if (mActionMode == null)
{
mActionMode = mode;
//mode.setTitle("Dictionary");
Menu menu = mode.getMenu();
menu.clear();
mode.getMenuInflater().inflate(R.menu.menu, menu);
List