Medication use to treat memory loss in dementia