added setPoisonParams() and connected it with apply button