A remark on transformations of a $K$-contact manifold