Fix file and directories context menu operations and order