function buttonresetcutBLA(hObject, eventdata, Empty_Button, Buttons, AxesRAW, AxesZLF, DataText, ZerolineText)
data = get(Empty_Button,'UserData');

if (isfield(data,'isdata')*isfield(data,'iscut') == 1) && (data.isdata*data.iscut == 1)
    
    data.x = data.xraw;
    data.D = data.Draw;
    
    plot(AxesRAW,data.x,data.D','k');
    axis(AxesRAW,'tight');
    yl = get(AxesRAW,'ylim');
    yl = [min(0,yl(1)), yl(2)*1.1];
    set(AxesRAW,'ylim',yl);
    xlabel(AxesRAW,'channel');
    
    data.iscut = 0;
    data.isbd = 0;
    data.xbd = [];
    data.ibd = [];
    data.iszlf = 0;
    data.iszla = 0;
    data.nobd = 0;
    
    plot(AxesZLF,1,0,'w');
    
    set(ZerolineText(6),'String','not ok','ForegroundColor','r');
    
    set(DataText(3), 'String', num2str(size(data.D,1)));
    set(DataText(5), 'String', num2str(size(data.D,2)));
    
    onoffButton(Buttons,[],5:7);
    set(hObject, 'Enable', 'off');
    
    set(Empty_Button,'UserData',data);
end

