fix a bug: new note editor show content from previous note