Change function AddNewData (works with all forms of input new itemes)