Database doesn't initialize first time electron app launch. Second thing, If app reloads on changes, db works fine but inner components doesn't load