Progress bar Done
Refacto settings using var