added ativity duration logic to details activity page
moar changes