fix: button of editbutton would not always be hidden on setChecked() call