Fix dynamic change of menu styles