Agitation improved in both groups , even if the treatment effects were more pronounced in the risperidone group ; however , the effects on cognition and other aspects of tolerability were stronger with galantamine .