public void loadItems()
    {
        for (int i = maxItems; i >= 0; i--)
        {
            Time value = TimerPreferences.getInstance().getTime("item" + i);
            this.addItem(value);
        }

    }