fix for issue #15 Restart moves the cursor out of the typing area, by adding a focus at the end of the refresh flow
change spaces to tabs, as the whole project has