Made some delegate methods optional in TreeViewDelegate and ListViewDelegate. Fixed #402: Keep expanded/collapsed state of tree nodes.
Simplified code
Merge pull request #429 from dinhviethoa/402-keep-expanded-state

Keep collapsed/expanded state of the files view