Removed wrong function from edit Item