added syncing after save refs item:582
fixed history page error, removed unused functions
minor changes to edit button
Merge branch 'develop' into bug/waste-not-syncing
Merge pull request #364 from musamusa/bug/waste-not-syncing

Bug/waste count not syncing