Implement selectedLine property.
Save user properties, too.