changed button direction to random direction.