Update app.lockOrientation to send recieveRotateEvents as an argument

Issue #583