Previously this is handling the case "we should hide all widgets before launching an app to prevent unexpectedly OOM". This is something we need to discuss when code goes further I guess; again I preserved it because it's possibly needed when our code goes further.