Bug Fixed when creating database initializer

When initizalizing App and creating the database, error because the
database initializer were to be with one context and were being with
another