Corrected minor bug when inserting new link: colored if the node is selected.