Request focus using xml

Resolve #1