added refresh function to the submit button
Merge pull request #8 from rubberyuzu/submit

added refresh function to the submit button