Healthy lifestyle improves brain function