On the continuous dependence of trajectories of bilinear systems on controls and its applications