How to change refresh-picker value from within my plugin?

Hello,

Can I know how to get the value of the same variable “refresh” value inside the plugin ?
I tried replaceVariables(‘$refresh’) but it doesn’t work.

Thanks in advance.