fix(ui): ensure app is initialized independently of the WS status