fixed swapping tokens with second click