[UI] Handle all switch clauses

Closes #67