Creation of tables on double click on nodes