automatically clicks the next button