Fix #46: Collapsed views do not stay collapsed after app restart