Quick Fix Light Switch Jammed

My toilet light switch after switched ON, it jammed and cannot be switched OFF…Found out is due the inner switch out of position, not faulty, after aligned it works perfectly. …