Fixed the bug with app not killed and running again, would not setOrientation in the onCreate and cause app to crash.