Fixed broken HTTPS toggle