[MOSYNC-2865] Android: Made fix for rotation bug when there is no NativeUI screen