Re-added accidentally removed line where note's modified property got updated in saveNote function. Fixed note tests.