Bug 1026384 - [MMS]Display switching of SMS/MMS composition screen

I'm not against this, but out of curiosity, why do you prefer extracting a function than defining a boolean in `updateType`, since it's used only once?