modified setScreenOrientation to prevent flooding orientation change requests