Why the Submit button is not working?