Fix UICommand caching issue for Shell command execution.

This ensures that new UICommand instances are created when
commands are executed. Cached UICommands are not used at this
point to ensure that cached UIInput values are not used.