Added and corrected access to the flag dataFromServerIsUsed