Fixes error related to empty application names when adding a defect tracker to an application.
Closes #607 by writing new values onto existing object instead of using a new one. This makes hibernate not get confused about its managed objects.