added event handling to ListView