Make Apply button disable/enable work correctly.