specify UTF-8 encoding

as per https://github.com/jdfwarrior/Workflows/pull/7
fix quick access
cometic change with ●
use prepare statements for sqlite
missing prepare statement
Added indexes SQL
close db for settings
set some PRAGMA for db