Revert "Fix function: "Restore recovery" 1/2"

This reverts commit da3171b3765ae4d69fd5dfba819060bafe2f98f4.
Revert "Fix function: "Restore recovery" 2/2"

This reverts commit f0876a77be04d2eb17c3d17e871499a8397f3e85.