Called when the user rotated the image.
In case you started the document analysis in onShouldAnalyzeDocument you should cancel it here as the original image is not valid anymore.
contains the modified image
the new rotation in degrees
the previous rotation in degrees