Fixed deletion method in editor toolbar