A clinical trial has shown an online lifestyle intervention program can improve cognition in older adults, which researchers say could be used to reduce the number of people with dementia.