Soak them in lemon juice for a bit before putting them in the pudding. The problem is that there is really nothing to stop them from turning brown.
Didn't find the answer you were looking for?