Fix folded regions preserving for click on folded regions. (Not only on fold marker click, like it was before)
Fix settings preserving issue.