add toggle to button