Restore command state after justifying

Could be caused by a Chrome 38 change
Merge pull request #4 from drc-devs/feature/justify_state_save

Restore command state after justifying