Text this: Lifestyle factors that affect cognitive function-a longitudinal objective analysis