add selectedCoin attribute