You're ignoring the even after passing it to the base clase, no wonder that doesn't change widget's bahaviour.

Put line 3 at the end of the function then event will get ignored before it's processed.

Also, could you elaborate what you mean by 'checked'?
Is there a checkbox that gets checked or widget gets higlighted like when it's selected or maybe something else?
I'm bit confused here.