Fixed bug, when form is changed, buttons do not became disabled.