well a bit scary. but don´t think it is really that dangerous... but you could risk be a bit low so.. I think I´d eat a piece of cake like 100 grams and just enjoy it but make sure not to do that mistake Again.
One suggestion could be to make your phone ring when to take the medicine, then you´ll be sure not to do it more times than the phone is programmed to do