get the CURRENT_STATE in the right state after a successful preview
log the state at the end of the init stage