Fix crash on device rotation
Fix wrong action bar height in landscape mode