Implemented state changing for every form input in activity form.