Fixed crash on rotation on older platforms.
Some stuff requires API level 9.