A version of Hake's theorem for Kurzweil-Henstock integral in terms of variational measure