added local DB

settings saves to local DB