Fixes

Setup Demo DB only if DB is empty
Disconnect when app goes into background