Exactly how to do this depends on how you are saving the information, but basically you need to move the database update code into a separate thread, so that the UI thread can remain responsive and show the user the progress. Have a look at a
BackgroundWorker[
^] - the link includes an example with a progress indicator.