added undo buttons to each category.  had to rework to use jquery or getbyname as needed