SimpleDiabetes Make sure you initially have "sugar" with ID 1 "insulin" with ID 2 "food" with ID 3 in database to let app work properly.