use a map it gets updated when activities gets created or destroyed

Authored by mart on Apr 19 2018, 1:38 PM.