Fixed Single Page App Items Edit Function