Going by your two examples the calculator is using x=5. You might have just saved this value. I forgot how exactly but there is a way to clear all stored data of this sort. Look around in the memory or maybe someone else can tell you explicitly. Luckily it's calculating the problems correctly for x=5.