Changed search button to submit type