Effect of short-range potential and coupling with phonons on impurity states