Fix submit button state #900