#429 Fixed plugin mode toggle