On the theory of stability of controlled systems