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

nit:  please align `function()` with `test` (it's arguable but I find it more readable in the end)