add item logic

bug fix for adding items to the list when there are no completed items yet.