Added an on click for clearing data fields as well as some comments and also fixed my condition to toggle between txt field and radio buttons