Added "onRotate" and "show action sheet"