Refactoring Code

implement ListItemListener