fixed the bug adding a check

if the controller change the value listener do not overwrite that cookie.

this should fixes #55