Fixed bug where notes weren't saved.