Add country flag for language and fix some events