Fixed bug with application restart.