Using TextCommand instead of WindowCommand.