category edit can now be restored with browser's refresh