private void updateRecentMenu()
    {
        menuRecent.removeAll();
        for (int i = 0; i < recentList.size(); i++)
        {
            final JMenuItem item = new JMenuItem(recentList.getItem(i).toString());
            item.addActionListener(new ActionListener()
            {

                @Override
                public void actionPerformed(ActionEvent e)
                {
                    setSpinners(recentList.getItem(e.getActionCommand()));
                    if (TimerPreferences.getInstance().getBoolean("recentStart", false))
                    {
                        startTimer();
                    }

                }
            });
            menuRecent.add(item);
        }
    }