Refactored focusTimer