Add a check to confirm wether there is a initial key into resizeDatabase form kwargs