SetDefaultValue fun. for retrieving values of old project from database