Avoid bug that causes the calculator/saver to stack multiple times