Adding function to reorder the submit button