Replacing pump connections with Wago lever nuts

Our water pump was randomly cutting out. I determined that the power connections were loose, so decided to replace the wire nuts with Wago ones, which are easier to use, and hopefully more reliable.

The pump, with boring wire nuts:

Replaced with Wago wire nuts: