Move setTimeoutWithProgressbar to main.js