Volume slider value resetting when game is restarted

I tried this solution but I get "Error accessed None. What am I missing? Thanks