Added the removal of the previous graphic