When apple is cut, within few minutes it changes colour turning dark. Its because of the contact with air and the subsequent chemical reaction. To prevent that, just add few drops of lemon juice and toss it well. This will help the apple retain its colour.