fixed setActiveCurrency on window open