Reset Button restores cards/operations

Can someone please check if this code works (does not cause bugs..)?