A novel adaptive procedure for solving fractional differential equations