Renamed addEditText to addField for clarity.
Added optional fields to demo.