Sorry, still not with you.
That's a single meal from the tracker, and when you enter that meal, and only that meal, your daily total is 522?
Is there anything else listed on your tracker in other meal slots or anything? Any others foods you've ticked? You're right, that's nowhere near 522 calories as a total.
With your description of what you did after it sounds like it's calculating it up every time you tick it, and if you untick and tick again you get double. Hmmmm, weird.
Have you tried simply forcing a reload of the page? Ctrl+F5, assuming Windows.
Deb, in New Zealand