Added deleting selected nodes feature