Code check, getting my else statement to work

Hi all I am having a little bit of trouble getting the second part of my if statement to function.

if(navvar == 1){
this.option1.gotoAndStop(“paused”);//if navvar is equal to 1 the button will look like its on
}
else if (navvar != 1){
this.option1.gotoAndStop(1);// if navvar is not equal to 1 it will be in an off state
}

When navvar does not equal 1 (my else if statement) should function but at present it does not.

Is my code okay or?

Any help would be great.