Persistence and extinction of a stochastic single-species model under regime switching in a polluted environment II.