Fixed issue where note didn't save after clearing page