First I’d try correcting as soon as you get up if you’re 10. You need to nip the rise in the bud. Leaving the 10 uncorrected could have contributed to your rise to 17.8.
Also, try having your basal earlier too so that can get going quicker.
Thirdly, get some breakfast in. Some of the rise could be your body pumping out extra glucose because you’ve had no food. You could have a small breakfast of say 20g plus a bolus. You might need a higher mealtime ratio for it, sometimes a lot higher.
Fourthly, in the circumstances you’ve described above, I wouldn’t have eaten at 12.15pm with a BG of 16.2. You’ll just be more insulin resistant and push your BG higher. It also means you’re unable to see if your 8.50am correction finally got you down.
Get the insulin in early. If you don’t, you’ll probably find it much harder to get back in range basically. You should also be upping your correction ratio if you’re above 12 or 13..