fixed bug where new item being added to existing store was not being saved