remove a progress dialog problem.
(move DB insert to another thread)