spinner code added,edit text field modified