fix folding method when stopping

check for tool type (sowingMachine vs sprayer vs rest)