Now enabled attribute is used in nexus.window.command.

[FIX] Now enabled attribute is used in nexus.window.command.