1. Refactored structure of ComponentCommands.js:
- Fixed indentation.
- Changed order of commands to be a little more organized.
- Explicitly defined MoveCommand variable.

2. Element affected by undo/redo becomes selected.