Dementia: Study finds daily habits are linked to cognitive decline later