Backend: Fixes for CumulatedTimes and Activities

Fixed: Nullpointer Exception in ActivityService when TarmedActivity
duration was null