Adding the remove history GUI button function, fixing graphic update when adding new version