added else to show_points to calculate points for activities with just duration