Fix EventLog string class problem in onOptionMenuSelected