Finish DietActivity with database

Need to check some things