The flaring afterglow of GRB 050730