Moved privacy database to application data folder

Fixes #1129