The extension US checkbox is not retaining values, and not applying updated
values

I am creating a free dynamic slideshow extension for dreamweaver. I am
basically finished with it but for one thing. I have an "Auto Play" option
which is represented as a checkbox. Lets say I apply the extension the first
time and turn On Auto Play (check the checkbox) and everything works great.
But if I want to edit the behavior by double clicking it and try ot turn OFF
the Auto Play (uncheck the checkbox), first of all the original ON value
(checked) does not retain the box is unchecked when it shouldn't be, and when I
try to change it to OFF, It does not update. Does anyone know what the heck
is going on?

Thanks in advance