toggleButton event updated