Changed the `setDefaultCommand` to set the Command name instead of add
the Command itself to the Application.