Implemented the redeployment toggle button