Why this switch statement?  Couldn't you just `if (launchModePref) act.attrib["android:launchMode"] = launchModePref;` ?