added autosubmit after selection and made changes according feedback.