Different options for setFocus

Let users to disable setFocus option if they want it.
Optionally set a function instead or finally let as it was.