fix preview mode which was always on when opening a note