Move logic of getting ActivityDetails' by activity_id to its model

Quick and simple change :+1: