Fix event listener for list view