Quit editing text note on changing note mode