Activities implemented.
There is a bug when adding activities of a kind that is hidden.