CONTRIB-4626 check for availability of setExpanded()

* Also defaulting activity module dates to be expanded.