For the topping, heat the butter in a large skillet over medium heat; add the onion ... beans and bring to a boil; turn heat down and simmer (uncovered) until the veggies are tender and the sauce ...
To make the refried beans ... up and combined with the sauce. Meanwhile, finish making the refried beans. Melt the lard in a frying pan and sweat the remaining onion until it’s soft and golden.