Implement logic for notifications toggle