Add settings file discard behaviour
Fix propagation of the update flag to secondary uninstall process + testing