@Override public void onDestroyActionMode(ActionMode mode){
  logic.setSelectedNode(null);
  super.onDestroyActionMode(mode);
}

@ Override public void onDestroyActionMode ( ActionMode mode ) { logic . setSelectedNode ( null ) ; super . onDestroyActionMode ( mode ) ; }
path creation action mode is ending
