The reason for this is that I am not able to save some information (selected checkbox values) of my widget.
I don't know whether I could explain the situation well! Hope this screenshot from block widget editor may be helpful!
PS: I have just gone through How to detect when the user clicks the publish/update button in Gutenberg Editor. It looks like there is no default way to do it. If so, is there any other way to accomplish this?