save pathfinding option to preferences