Launcher: fix startup bugs of smarthome process.