Changed refresh_activity_windows to work with any plotgroup ending in Activity, rather than being limited to Activity and ProjectionActivity