fixed db creation;

progress bar instead of progress dialog