fix: when create a new note and save it with back clicked