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

Signed-off-by: Thomas Marques <marquesthom@gmail.com>