Fix error when click delete without select item