Update AgendaQueue.java

Now using ActionStatePair instead of just the state.