SL Chong Well, application typically does not crash like that, so it is hard to say why exactly it is crashing in your case. We need more information for diagnosis, typically logs can help: https://community.tonfotos.com/d/26-making-debug-logs-in-tonfotos
However, application does not just start over every time. The photos that were already indexed will not be indexed again, Tonfotos will just quickly check that files did not change in folders that it already scanned and then move on to unprocessed files. You can clearly see that yourself if you pay attention to the status string in the bottom of the main window.