Revalidate on focus
Often, when the application comlains that the file is not executable, the user has to go to the terminal, set the executable flag, and go back to the application. Then, he has to somehow trigger the revalidation. With this PR, the revalidation happens automatically when focus is regained.