Store properties from single selection input elements
Fix indentation