problem with event delete and icon not updated