Keep status across page loads. Refactor.