Undo/Redo works in shifting items back and forth

Needs some testing for other bugs. One known bug is with suspicious
metabolites and fixing defective reactions.