Handled delete of list item and added lodash