add type property to activity component with field in info view; fix duration property bugs