Fixed crash with certain messaging apps (CM SMS, 8SMS)