Save the note before adding the bullet point to retain the state, added documentation