Add new item finally

finally got the add new item to work again and save in local storage,
but now error message will not show again. still trying to figure out
how to get it to work