Ability to perform activities of daily living is the main factor affecting quality of life in patients with dementia · Study