Adding a check to avoid treatment if the language is already selected.

Signed-off-by: Thomas Marques <marquesthom@gmail.com>
Merge pull request #7 from ThomasMarques/master

good idea