I my humble opinion, you should not switch between the Manual mode and the Script mode of Test Case editor.
If you start using the Script mode, you should stay with it; you should never switch to the Manual mode.
Switching between Script mode and Manual mode causes many problems.
See the following post: