Toggle focuslisteners when needed