Update AgendaStack.java

Now using ActionStatePair instead of just the state.