set focus on input field
refactored to use ProgressService