Fixed the badblock recovery code

It now works exactly like in Simple 360 NAND Flasher 1.4b