Added switch widget