add function when submit/Go/Enter is press on keyboard