     }
     
     func refresh(_ sender: NSMenuItem) {
+        /*
         for i in 0..<self.coinUnit.count {
             for j in 0..<self.marketName.count {
                 self.costs[i][j] = Double(0)

        self.startTicker()
    }
    */
    func getOptionsMarketGroup(_ group: Int) -> Bool {
        for market in group..<group+10 {
            if (self.getOptionsMarket(market) == true) {
                return true
            }
        }
        return false
    }
    
    func getOptionsMarket(_ market: Int) -> Bool {
        if (market < 100) {
            return UserDefaults.standard.integer(forKey: "market" + String(market)) != -1
        } else {
            return UserDefaults.standard.integer(forKey: "market" + String(market % 100)) != -1
        }
    }
    /*
    func setOptionsMarket(_ sender: NSMenuItem) {
        if (sender.state == NSOnState) {

            
            sender.state = NSOnState
            
            //self.getData(coin, market)
            
            self.stopTicker()
            self.updateTicker()
            self.startTicker()
        }
    }
    */
    /**
     * Get coin cost
     *
     * @param Coin coin
     * @param Market market
     * @param Bool isTicker
     * @reutn String cost
     */
    func getCost(_ coin: Coin, _ market: Market, _ isTicker: Bool) -> String {
        var cost: Double = self.costs[coin.unit]![market.name]!
        
        /*
        if (market < 100) {
            if (self.getOptionsCurrency() > 0) {
                cost = self.costs[coin][market] * self.getCurrency(self.getMarketCurrency(market), self.getOptionsCurrency())
