[WIP][FIX] Activity view performance

Implements [ticket 2759](https://www.openproject.org/work_packages/2759)