Increment history on next button