Added App.onSetOrientation.