With my code I am trying to have a toggle button that mutes and plays sound, it works when it first loads up, but when I carry on through the game and end back at this start screen Toggle is = Null and the toggle does not mute the audio or work. I have no idea why its = null the second time round. Any help would be great

using UnityEngine;
using System.Collections;
public class SoundButtionGUI : MonoBehaviour {
public UIToggle toggle;
void Awake () {
if (PlayerPrefs.GetInt ("SoundMute") == 1) {
toggle.value = true;
} else {
toggle.value = false;
}
}
void Update () {
if (Application.loadedLevel == 0) {
if(toggle == null){
Debug.Log ("Toggle = Null");
}
if(toggle.value == true && toggle != null){
PlayerPrefs.SetInt("SoundMute", 1);
Invoke("audioOff", 0.01f);
} else{
Invoke("audioOn", 0.01f);
PlayerPrefs.SetInt("SoundMute", 0);
}
}
}
void audioOn(){
audio.volume = 1;
}
void audioOff(){
audio.volume = 0;
}
}