iOS assignment using picker views