Relationship between decline in cognitive resources and physical activity