Switch between types.
Showing log is working. Switch of type is also working.