finish the toggle pause feature