Bananas turn brown when they come into contact with the air, so make sure that you only decorate the pudding right before serving. And for the bananas in the layers, slice the bananas last, before you are ready to assemble your pudding, and then make sure that in your bowl they are covered completely with the cream. You can also spritz a little lemon juice to prevent them from browning on top.