Replace code with tutorial state.