Set the modified $defaults array as the bundle defaults

Line 50 modifies the $defaults array but Line 61 sets the unmodified array.