Bug fix and syc para numbers

Fixed bugs causing different input field states.
Syc paraNum when add or remove paragraphs