Adding deploying flag to toggle button