Improved uninstallation of applications