Added toggles the editor