Adding the times for the different activities