Fix the callback after winnning or loosing