fixed collapsed state persistence in note