Dancing was the only physical activity associated with a lower risk of dementia .