Orientation lock while recording data in Automatic.

#590