reinstall bootloader if the settings requires it

reinstall bootloader if the settings requires it to be effective
(bnc#858860)
Merge pull request #91 from WenhuaChang/bnc858860

reinstall bootloader if the settings requires it