Change event listener from hover to submit button