Handling of coloring and node selection changed

Handling of selected node and coloring is changed. Not need to have a
node selected. Introduced new color determination methods. View refresh
centralized to refreshGraphNode() method