The Effectiveness of a Customized Program on Cognitive Function in Older Adults with Mild Dementia: A Focus on Gender Differences