Added case for local activity addition