Fixed crashes on old versions of Android.
Fixed layouts for phones.