fix form submit
reset current groups and entries on database load