private ButtonViewModel GetSmallButton(string image)
		{
			ButtonViewModel b = new ButtonViewModel();
			b.SmallImage = GetPath(string.Format("MVVM/{0}.png", image));
			return b;
		}
		private void AddButtonHandler(object o)
		{
			if (this.SelectedTab != null && this.SelectedTab.Groups.Count > 0)
			{
				int group = (new Random()).Next(SelectedTab.Groups.Count);
				ButtonViewModel b = new ButtonViewModel(); b.Text = "New button"; b.Size = ButtonSize.Medium;
				SelectedTab.Groups[group].Buttons.Add(b);
			}
		}
		private ButtonViewModel GetButton(string image, string text, bool large)
		{
			ButtonViewModel b = new ButtonViewModel();
			b.SmallImage = GetPath(string.Format("MVVM/{0}.png", image));
			if (large)
				b.LargeImage = GetPath(string.Format("MVVM/{0}.png", image));
			b.Text = text;

			return b;
		}