fixed the achievement button after the cancel button has been pressed