Implemented toggle button