app: npd-tool: add option to apply or cancel the deformation