Yun Sketch does not run when wifi network is changed

I found the answer here: Arduino Yun - Bootloader not retaining sketch on power off - Arduino Yún - Arduino Forum, the second thread. Thanks.