Is there any way to fire an event on boolean value change?

Yes, if you put a call to the to randomize function in the constructor. Then if you change the public property in the editor, then the constructor will be called again, thus calling your function.