3 things seniors can do to retain cognitive function