Add template for control switching