@Override
	public void update(Observable o, Object arg) {
		if (arg != null && arg instanceof String && ((String) arg).contains("VS")) // View settings updates
		{
			if (activeGroup != null)
				m_container.remove(activeGroup);
			if (ViewPreferences.getInstance().getCenterView() == CenterView.TASK) {
				activeGroup = taskButtonGroup;
				m_container.add(activeGroup, BorderLayout.EAST);
			} else {
				activeGroup = calendarButtonGroup;
				m_container.add(activeGroup, BorderLayout.EAST);
			}
			m_container.validate(); // force to recalculate size of active ButtonGroup
		} else // application settings update
		{
			ApplicationSettings a = ApplicationSettings.getInstance();
			weekView.setText(a.getLocalizedMessage("vtb.wv"));
			listView.setText(a.getLocalizedMessage("vtb.lv"));
			taskView.setText(a.getLocalizedMessage("vtb.tv"));
			addItem.setText(a.getLocalizedMessage("menu.add.calitem"));
			addCalendar.setText(a.getLocalizedMessage("menu.add.calendar"));
			importCalendar.setText(a.getLocalizedMessage("menu.imp.calendar"));
			addTask.setText(a.getLocalizedMessage("menu.add.task"));
			addTasklist.setText(a.getLocalizedMessage("menu.add.tasklist"));
			importTasklist.setText(a.getLocalizedMessage("menu.imp.tasklist"));
		}
	}