Added method to detect the rotation on the KKPasscode