Saving user preference when toggling safe browsing