         defaults.setInteger(outputFormatRadio.selectedRow, forKey: DEFAULT_OUTPUT_FORMAT_INDEX_KEY);
     }
     
-    func tabView(tabView: NSTabView, didSelectTabViewItem tabViewItem: NSTabViewItem?){
+    func tabView(tabView: NSTabView, didSelectTabViewItem tabViewItem: NSTabViewItem?) {
         let identify:String = tabViewItem!.identifier as String;
         let defaults = NSUserDefaults.standardUserDefaults();
         let tabIndex:Int = identify == "1" ? 0 : 1;
         defaults.setInteger(tabIndex, forKey: DEFAULT_TAB_INDEX_KEY);
         refreshAlgorithmComboBox(tabIndex);
-        
-        if(tabIndex == 1) {
-            sourceStringView.becomeFirstResponder();
-        } else {
-            fileView.becomeFirstResponder();
-        }
     }
     
     func refreshAlgorithmComboBox(tab:Int) {

            seletedAlgorithmIndex = 0;
        }
        hashAlgorithmComboBox.selectItemAtIndex(seletedAlgorithmIndex);

        if(tabIndex == 1) {
            sourceStringView.becomeFirstResponder();
        } else {
            fileView.becomeFirstResponder();
        }
    }
    
    func checkCopyButtonVisibility() {

        fileDropView.delegate = self;
        
        showProgress(false);
        loadDefault();
        checkCopyButtonVisibility();
    }
    
    func loadDefault() {
