Removed unneeded code about share dialog.
Implemented component variables highlight.