Add default case in Switch statement in DisplayView

Default case was not present, some command type like UNDO was not
captured in the switch.

This commit fixes this.