Removed dead code from UI
Merge pull request #5142 from adrian17/master

Removed dead code from UI