click-service: also remove app from user DB
Since users could still have applications installed in their user DB (e.g. when migrating from Xenial), so we have to remove that package too. If we don't, users will be very confusing when they can't remove clearly-installed applications.
And while we're at it, remove a minor memory leak in main()
.
Fixes: #19 (closed)