Fixed problem with saving new goal