public void updateSelectedItem(INSTALL_ENUM mode)
	{
		for( Component component : popupMenu.getComponents() )
		{
			if( component instanceof JMenuItem )
			{
				JMenuItem item = (JMenuItem) component;

				if( item.getText().contains("Nightly") )
					if( mode == INSTALL_ENUM.NIGHTLY )
						item.setText("<html>&#10004; Nightly</html>");
					else
						item.setText("Nightly");
				else if( item.getText().contains("Milestone") )
					if( mode == INSTALL_ENUM.MILESTONE )
						item.setText("<html>&#10004; Milestone</html>");
					else
						item.setText("Milestone");
			}
		}
	}