private JPanel buildButtons() {
		JPanel panel = new JPanel(new BorderLayout());
		panel.setMaximumSize(new Dimension(2000,50));
		JButton deleteButton = new JButton("Delete");
		deleteButton.setFocusable(false);
		deleteButton.addActionListener(new ActionListener(){
			@Override
			public void actionPerformed(ActionEvent arg0) {
				
				List<String> selectedItems = itemsList.getSelectedValuesList();
				if(selectedItems.size() != 0 && !(selectedItems.size() == 1 && selectedItems.get(0).equals(FIRST_LIST_ENTRY))){
					LinkedList<TimeDuration> timesList = model.getTimes();
					for(String period: selectedItems){
						TimeDuration periodToDelete = null; 
						for(TimeDuration time: timesList){
							if(time.getFormattedTimeDuration().equals(period)){
								periodToDelete = time;
							}
						}
						model.deleteTime(periodToDelete);
					}
					info.setText("Delete or edit Time Periods!");
					refresh();
				}else{
					info.setText("Please choose atleast one time to delete!");
				}
			}
		});
		
		JButton continueButton = new JButton("Continue ->");
		continueButton.setFocusable(false);
		continueButton.addActionListener(new ActionListener(){
			@Override
			public void actionPerformed(ActionEvent arg0) {
				List<String> selectedItems = itemsList.getSelectedValuesList();
				if(!(selectedItems.size()==1)){
					info.setText("Please choose one time to continue!");
				}else{
					info.setText("Delete or edit Time Periods!");
					if(!selectedItems.get(0).equals(FIRST_LIST_ENTRY)){
						timeToEdit = model.getTime(selectedItems.get(0));
						toField.setTime(timeToEdit.getToTime());
						fromField.setTime(timeToEdit.getFromTime());
					}else{
						timeToEdit = null;
						toField.reset();
						fromField.reset();
					}
					//editPanel.fill(itemToEdit);
					showEditPanel();
					pack();
				}
			}
		});
		
		panel.add(deleteButton, BorderLayout.WEST);
		panel.add(continueButton, BorderLayout.EAST);
		
		return panel;
	}