Fix function: "Backup/Restore recovery"

Restoring recovery will write recovery also on the boot partition.
This is because boot and recovery are the same on some samsung phones,
but samsung phones based on msm7x27 don't need this.

Signed-off-by: HandyMenny <handymenny@outlook.com>