Remove pointless reinitialization.
Merge pull request #545 from rohitnirmal/ui_shared

Remove pointless reinitialization.