 <p>Add to your <code>if</code> validation condition to not validate if a new step is the back one, like this:</p> <pre><code>if (event.getOldStep().contains("part") &amp;&amp; !event.getNewStep().equals("model")) { ... } </code></pre> <p>or for the first if</p> <pre><code>if (event.getNewStep().contains("model") { return event.getNewStep(); } </code></pre>