Fixed selected item after delete item issue.