fix #4286: crash when rotating the phone while editing note