us40418: Created public function to change selected option