Add switch function.

Let user to choose which the result will be displayed. List or Form.