[DR] [00000] pass the event type to selectItem function