fixed autorefresh when writing new note