Eventviewer UI enhancement. Removed redundant code.