fixed menuitem collapse/expand observable