Added support of check buttons.