async void OnAddItemClicked(object sender, EventArgs e)
		{
			var todoItem = new TodoItem()
			{
				ID = Guid.NewGuid().ToString()
			};
			var todoPage = new TodoItemPageCS(true);
			todoPage.BindingContext = todoItem;
			await Navigation.PushAsync(todoPage);
		}
		AppLinkEntry GetAppLink(TodoItem item)
		{
			var pageType = GetType().ToString();
			var pageLink = new AppLinkEntry
			{
				Title = item.Name,
				Description = item.Notes,
				AppLinkUri = new Uri(string.Format("http://{0}/{1}?id={2}", App.AppName, pageType, WebUtility.UrlEncode(item.ID)), UriKind.RelativeOrAbsolute),
				IsLinkActive = true,
				Thumbnail = ImageSource.FromFile("monkey.png")
			};

			pageLink.KeyValues.Add("contentType", "TodoItemPage");
			pageLink.KeyValues.Add("appName", App.AppName);
			pageLink.KeyValues.Add("companyName", "Xamarin");

			return pageLink;
		}
		public int Update (TodoItem item)
		{
			lock (locker) {
				return database.Update (item);
			}
		}
		public int Insert (TodoItem item)
		{
			lock (locker) {
				return database.Insert (item);
			}
		}