added log statement to onFocus