Change order of initial app render and router activation.