Discard function in the List View