set focus after click on the controls
Merge pull request #1094 from rounce/master

restore focus after click on the controls