Adding input type switcher