Fixed up inputs and added id to text input; fixed javascript for save button and debugging getSelectedRadio