styles for openFileDialog
fixed #17: deleting document from database and changed getDb method (now it pulls database-file every time it's requrested)