Toggle switch act like a button?

Thanks Guys this works perfect. It's exactly what I was looking for.