move initial state enter call into set_initial_state method and before persistence