Created a custom component toogleButton