Proper updateProgress handling when switching between views