Submit button appearing even after successful submission of job application

Why do the submit and cancel button appear on the page even after job application is successfully recorded.

On pressing submit, job application is getting submitted multiple times, I have removed email id unique check from the code.