Fixed request submit button issue

Fixed bug that submit button needs to be clicked twice.