Fixed issues with the submitting contact form and the displayed messages