Fix uninstall of dropbox, make installed version recognition more DRY