Fixes new name parameter and places it directly after the action in the demo application

...demo application