enable add activity button only when a type is selected, fixes #276