 package org.openforis.collect.presenter
 {
 	import flash.display.DisplayObject;
-	import flash.events.Event;
 	import flash.events.FocusEvent;
 	import flash.events.KeyboardEvent;
 	import flash.ui.Keyboard;

		
		protected static function languageSelectHandler(event:UIEvent = null):void {
			var selectedLanguage:LanguageItem = autoCompletePopUp.dataGrid.selectedItem as LanguageItem;
			if ( selectedLanguage != null ) {
				autoCompleteLastInputField.text = selectedLanguage.code;
				autoCompleteLastInputField.presenter.updateValue();

		
		protected static function languagesFilterFunction(item:LanguageItem):Boolean {
			if ( StringUtil.isNotBlank(searchText) ) {
				return StringUtil.startsWith(item.code, searchText, true) || StringUtil.startsWith(item.label, searchText, true);
			} else {
				return false;
			}
