improvements for uninstall button

fixes https://github.com/owncloud/core/issues/9188

please review @jancborchardt