small refactoring
remove icon from menu after an app deletion