Also catch error when parsing
Parse immediately after submission

No need to use background task since the data should be small

Issue #36
Closes #39