Submit button not working in app.