seems to be something timing related. Couldn't break ist down, but workaround with an extra delay before setting the refresh inactive