finalized toggle button