Neatened up the way it checks if it should show the notification settings.