@Override
			public void onOptionClick(IconMenu.OptionClickEvent event) {
				Player player = event.getPlayer();
	    		player.playSound(player.getLocation(), Sound.NOTE_PIANO, 1, 1);
	    		String item = chosen_item.get(player.getName());
	    		Color color = null;
	    		ArmorPart armorPart = null;
	    		ArmorType armorType = ArmorType.COLORED_LEATHER;
	    		
				if(!(player.hasPermission("ca.check.player.bypass"))) {
					if(ColoredArmor.config.getBoolean("Check.inventory.player")) {
						if(Armor.containsArmor(player.getInventory())) {
							player.sendMessage(pre + "§cYou have already a §4(Colored)Armor §cin your §4inventory§c!");
							return;
						}	
					}
				}
				
				if(!(player.hasPermission("ca.check.enderchest.bypass"))) {
					if(ColoredArmor.config.getBoolean("Check.inventory.enderchest")) {
						if(Armor.containsArmor(player.getEnderChest())) {
							player.sendMessage(pre + "§cYou have already a §4(Colored)Armor §cin your §4enderchest§c!");
							return;
						}
					}
				}
				
				switch(item) {
					case "§bAqua":
						color = Color.AQUA;
						break;
					case "§3Teal":
						color = Color.TEAL;
						break;
					case "§9Blue":
						color = Color.BLUE;
						break;
					case "§1Navy":
						color = Color.NAVY;
						break;
					case "§aLime":
						color = Color.LIME;
						break;
					case "§2Green":
						color = Color.GREEN;
						break;
					case "§2Olive":
						color = Color.OLIVE;
						break;
					case "§eYellow":
						color = Color.YELLOW;
						break;
					case "§6Orange":
						color = Color.ORANGE;
						break;
					case "§cRed":
						color = Color.RED;
						break;
					case "§4Maroon":
						color = Color.MAROON;
						break;
					case "§dFuchsia":
						color = Color.FUCHSIA;
						break;
					case "§5Purple":
						color = Color.PURPLE;
						break;
					case "§fWhite":
						color = Color.WHITE;
						break;
					case "§7Silver":
						color = Color.SILVER;
						break;
					case "§8Gray":
						color = Color.GRAY;
						break;
					case "§0Black":
						color = Color.BLACK;
						break;
					case "§6§oRandom color":
						color = Armor.getRandomRGBColor();
						break;
					case "§6Leather":
						armorType = ArmorType.LEATHER;
						break;
					case "§6Gold":
						armorType = ArmorType.GOLD;
						break;
					case "§6Chainmail":
						armorType = ArmorType.CHAINMAIL;
						break;
					case "§6Iron":
						armorType = ArmorType.IRON;
						break;
					case "§6Diamond":
						armorType = ArmorType.DIAMOND;
						break;
				}
				
				switch(event.getName()) {
					case "§6Armor":
						armorPart = ArmorPart.ALL;
						break;
					case "§6Helmet":
						armorPart = ArmorPart.HELMET;
						break;
					case "§6Chestplate":
						armorPart = ArmorPart.CHESTPLATE;
						break;
					case "§6Leggings":
						armorPart = ArmorPart.LEGGINGS;
						break;
					case "§6Boots":	
						armorPart = ArmorPart.BOOTS;
						break;
				}
				
				new Armor(player, armorType, armorPart, color);
	    		
	    		if(color != null)
		    		player.sendMessage(pre + "§7You got a §6leather " + event.getName().toLowerCase() + " §7in " + item.toLowerCase() + "§7!");
	    		else 
	    			player.sendMessage(pre + "§7You got a(n) " + item.toLowerCase() + " " + event.getName().toLowerCase() + "§7!");
			}