record app installation and uninstallation