Avoid duplicates and allow delete item