Randomness is dependent on the position of the onlooker.
Imagine the following:
There is a bag with 10 balls inside it, 5 black and 5 white, all identical in shape and size. If a person were to close their eyes and choose a ball out of the bag, and withdraw the ball, all the while keeping their eyes closed, they could say that the color of the ball in their hand is random.
However, if a friend were to see the ball in their their friend's hand, which (let's just say) was white, they would be able to say that the color of the withdrawn ball was not random, for there is a one hundred percent chance that the ball is white. The original person however, could still say with just as much accuracy that the color of the ball in their own hand has a fifty percent chance of being black and a fifty percent chance of being white.
If a god exists, the same would be true for him. For God, nothing is random, for he knows everything. But for us, the people with their eyes closed, randomness still exists.
I hope this helps :p