Added logic for showing event types icons