@Override
	public void setValueAt(Object aValue, int rowIndex, int columnIndex) {

		if (aValue == null || !(aValue instanceof String))
			return;
		
		if (placeholderVisible && rowIndex == keys.size()) {
			
			if (columnIndex == 0) {
				String key = ((String) aValue).trim();
				hidePlaceholder();

				if (!key.isEmpty())
					settings.setString(key, settings.getString(key, ""));
			}
			
		}
				
		if (columnIndex != 1 || rowIndex < 0 || rowIndex >= keys.size())
			return;
		
		String key = keys.get(rowIndex);
		
		settings.setString(key, (String) aValue);
		
	}