Updated app with better flexible database handling