Change clear button to undo button which steps back through array