KULRICE-11190: Fixing application saving to database