Add cod to notify on device rotate