adds support of menu checkbox