Remove unnecessary call of deleteDatabase