created spinner for selection and second activity for display result