private void checkLastSeenVersion() {
   final String lastSeenVersion =
       ConfigurationManager.instance().getString(Constants.PREF_KEY_CORE_LAST_SEEN_VERSION);
   if (StringUtils.isNullOrEmpty(lastSeenVersion)) {
     // fresh install
     ConfigurationManager.instance()
         .setString(Constants.PREF_KEY_CORE_LAST_SEEN_VERSION, Constants.FROSTWIRE_VERSION_STRING);
     UXStats.instance().log(UXAction.CONFIGURATION_WIZARD_FIRST_TIME);
   } else if (!Constants.FROSTWIRE_VERSION_STRING.equals(lastSeenVersion)) {
     // just updated.
     ConfigurationManager.instance()
         .setString(Constants.PREF_KEY_CORE_LAST_SEEN_VERSION, Constants.FROSTWIRE_VERSION_STRING);
     UXStats.instance().log(UXAction.CONFIGURATION_WIZARD_AFTER_UPDATE);
   }
 }
 private void savePreviousFilter() {
   if (!StringUtils.isNullOrEmpty(filesBar.getText())) {
     previousFilter = filesBar.getText();
   }
 }