Fixed #2 where note content would be destroyed on refresh